<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>window对象</title>
<script language="javascript">
    window.onload = function() {
        alert('resizeTo(280, 360)');
		window.resizeTo(280, 360);
		alert('resizeBy(-50, 0)');
		window.resizeBy(-50, 0);
		alert('moveTo(100, 100)');
		window.moveTo(100, 100);
		alert('moveBy(20, 15)');
		window.moveBy(20, 15);
	}
</script>
</head>
<body bgcolor="#CCCCCC">

</body>
</html>
